package com.atguigu.service;

import com.atguigu.entity.Course;
import com.atguigu.entity.vo.CourseQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface CourseService extends IService<Course> {

    List<Map<String, Object>> getPageList(long current, long limit, CourseQuery courseQuery);

    List<Course> getPageList(Page<Course> page, CourseQuery courseQuery);

    List<Course> getNoPageList(CourseQuery courseQuery);
}
